sort sample1
by sample1: regress penrollr i.meduc i.feduc sample2 sample3 girl year##reg agem agem2, cluster(nr)
tab meduc
replace meduc=5 if meduc==0
tab feduc
replace feduc=5 if feduc==0
tab meduc
tab feduc
sort sample1
by sample1: regress penrollr i.meduc i.feduc sample2 sample3 girl year##reg agem agem2, cluster(nr)
sort sample2
by sample2: regress penrollr i.meduc i.feduc sample2 sample3 girl year##reg agem agem2, cluster(nr)
sort sample3
by sample3: regress penrollr i.meduc i.feduc sample2 sample3 girl year##reg agem agem2, cluster(nr)
sort sample4
by sample4: regress penrollr i.meduc i.feduc sample2 sample3 girl year##reg agem agem2, cluster(nr)
tab sample0
sort sample0
by sample0: regress penrollr i.meduc i.feduc sample2 sample3 girl year##reg agem agem2, cluster(nr)
